package com.hqyj.service;

import com.hqyj.pojo.User;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

public interface UserService {

    //注册
    HashMap<String,Object> regist(User user,HttpServletRequest request);
    // 查询
    HashMap<String,Object> selectList(User user);
    //修改
    HashMap<String,Object> update(User user);
    //删除
    HashMap<String,Object> delete(Integer aId);
    //根据id查询数据
    User selectById(Integer sysId);

    //shiro登录
    HashMap<String,Object> login(User user, HttpServletRequest request);

    HashMap<String, Object> bitDel(String arrId);


    HashMap<String,Object> selectListAll(User user,HttpServletRequest request);
}
